#

## Openbox autostart.sh
## ====================
## DBUS

#!/bin/sh
sh -c "sleep 0.0 && xrandr --output Virtual-1 --primary --mode 1366x768 --pos 0x0 --rotate normal --output Virtual-2 --off --output Virtual-3 --off --output Virtual-4 --off&"
sh -c "sleep 0.1 && nitrogen --restore &"

sh -c "sleep 1.3 && tint2 &"
## Volume keys daemon
sh -c "sleep 1.3 && volumeicon &


# sh -c "sleep 2.3 && compton &"
# sh -c "sleep 1.9 && cmus &

## Desktop Standart
# sh -c "sleep 2.0 && spacefm --desktop &"


# Поменять местами кнопки мыши:
# sh -c "sleep 6.4 && xinput set-button-map 13 3 2 1 &"
# --
# Второй вариант:
# Так же поместить это можно в : ~/.xmodmap   (pointer = 3 2 1)
# sh -c "sleep 3.2 && xmodmap -e "pointer = 3 2 1 &"

## Тачпад
sh -c "sleep 3.6 && xinput set-prop 13 149 1 &"

## Set root window colour
sh -c "sleep 3.9 && hsetroot -solid "#2E3436" &"

# раскладка клавиатуры
# sh -c "sleep 6.2 && setxkbmap -layout us,ru -variant -option grp:alt_shift_toggle,terminate:ctrl_alt_bksp &"

## Flameshot:
# sh -c "sleep 3.5 && flameshot &"

# sh -c "sleep 3.5 && gxkb &"

## Start xscreensaver
# xscreensaver -no-splash &

## Start Clipboard manager
# (sleep 3s && clipit) &

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25 &

## Turn on/off system beep
# xset b off &


## Run the conky
# conky -c "/home/effir/.conky/MX-Simple/conkyrc" &
#conky &
#----------------------------------------------------------------------


sh -c "sleep 3.9 && xset s off -dpms &

#---------------------------------------------------------------------------
#dop
#
#xfce-mcs-manager &
#numlockx &
spacefm --desktop &
picom &
conky &
copyq &
